var PerDiemService=function() {
PerDiemService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PerDiemService.prototype={
GetRatesByState:function(state,succeededCallback, failedCallback, userContext) {
return this._invoke(PerDiemService.get_path(), 'GetRatesByState',false,{state:state},succeededCallback,failedCallback,userContext); },
GetStates:function(succeededCallback, failedCallback, userContext) {
return this._invoke(PerDiemService.get_path(), 'GetStates',false,{},succeededCallback,failedCallback,userContext); },
CheckForUpdate:function(versionString,succeededCallback, failedCallback, userContext) {
return this._invoke(PerDiemService.get_path(), 'CheckForUpdate',false,{versionString:versionString},succeededCallback,failedCallback,userContext); }}
PerDiemService.registerClass('PerDiemService',Sys.Net.WebServiceProxy);
PerDiemService._staticInstance = new PerDiemService();
PerDiemService.set_path = function(value) { PerDiemService._staticInstance._path = value; }
PerDiemService.get_path = function() { return PerDiemService._staticInstance._path; }
PerDiemService.set_timeout = function(value) { PerDiemService._staticInstance._timeout = value; }
PerDiemService.get_timeout = function() { return PerDiemService._staticInstance._timeout; }
PerDiemService.set_defaultUserContext = function(value) { PerDiemService._staticInstance._userContext = value; }
PerDiemService.get_defaultUserContext = function() { return PerDiemService._staticInstance._userContext; }
PerDiemService.set_defaultSucceededCallback = function(value) { PerDiemService._staticInstance._succeeded = value; }
PerDiemService.get_defaultSucceededCallback = function() { return PerDiemService._staticInstance._succeeded; }
PerDiemService.set_defaultFailedCallback = function(value) { PerDiemService._staticInstance._failed = value; }
PerDiemService.get_defaultFailedCallback = function() { return PerDiemService._staticInstance._failed; }
PerDiemService.set_path("http://perdiemgadget.members.winisp.net/perdiemservice.asmx");
PerDiemService.GetRatesByState= function(state,onSuccess,onFailed,userContext) {PerDiemService._staticInstance.GetRatesByState(state,onSuccess,onFailed,userContext); }
PerDiemService.GetStates= function(onSuccess,onFailed,userContext) {PerDiemService._staticInstance.GetStates(onSuccess,onFailed,userContext); }
PerDiemService.CheckForUpdate= function(versionString,onSuccess,onFailed,userContext) {PerDiemService._staticInstance.CheckForUpdate(versionString,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Keydet.GsaPerDiem');
if (typeof(Keydet.GsaPerDiem.Rate) === 'undefined') {
Keydet.GsaPerDiem.Rate=gtc("Keydet.GsaPerDiem.Rate");
Keydet.GsaPerDiem.Rate.registerClass('Keydet.GsaPerDiem.Rate');
}
if (typeof(Keydet.GsaPerDiem.State) === 'undefined') {
Keydet.GsaPerDiem.State=gtc("Keydet.GsaPerDiem.State");
Keydet.GsaPerDiem.State.registerClass('Keydet.GsaPerDiem.State');
}
if (typeof(UpdateInfo) === 'undefined') {
var UpdateInfo=gtc("UpdateInfo");
UpdateInfo.registerClass('UpdateInfo');
}
